<script lang="ts">
    export let title;

    function goBack() {
        window.history.back();
    }
</script>

<main>
    <div class="w-full bg-white border-b border-gray-200 p-4 flex">
        <button class="text-gray-600 mr-2" on:click={goBack}>&larr;</button>
        <h1 class="text-lg font-bold" style="width: 100%; text-align: center; margin-right: 32px;">{title}</h1>
    </div>
</main>

<style lang="scss">
</style>
